Skip to content

chore(deps-dev): bump eslint-plugin-mocha from 11.3.0 to 12.0.2 - #9856

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/eslint-plugin-mocha-12.0.2
Open

chore(deps-dev): bump eslint-plugin-mocha from 11.3.0 to 12.0.2#9856
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/eslint-plugin-mocha-12.0.2

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 19, 2026

Copy link
Copy Markdown
Contributor

Bumps eslint-plugin-mocha from 11.3.0 to 12.0.2.

Release notes

Sourced from eslint-plugin-mocha's releases.

eslint-plugin-mocha@12.0.2

12.0.2 (August 4, 2026)

Bug Fixes

  • Fix handle-done-callback for object property callbacks (#561)

Dependency Upgrades

  • Update type-fest to 5.8.0
  • Update dependency globals to v17.8.0 (#552)

eslint-plugin-mocha@12.0.1

12.0.1 (July 28, 2026)

Bug Fixes

  • Fix handle-done-callback for nested callback handoffs (#549)

eslint-plugin-mocha@12.0.0

12.0.0 (July 27, 2026)

Breaking Changes

  • Rename no-return-and-callback to no-return-and-done (#467)
  • Adjust recommended config defaults (#466)
  • Rename no-synchronous-tests option to allowedAsyncMethods (#449)
  • Rename no-setup-in-describe to no-setup-in-suite (#447)
  • Rename no-hooks-for-single-case to no-hooks-for-single-child (#448)
  • Move no-sibling-hooks functionality into consistent-structure (#441)
  • Rename no-global-tests to no-top-level-tests (#434)
  • Rename no-top-level-hooks to no-root-hooks (#433)
  • Rename named-import interface setting from exports to require (#432)
  • Require ESLint v10.2.0 (#425)

Bug Fixes

  • Fix no-sibling-hooks nested function false positives (#439)
  • Fix no-mocha-arrows fixer for commented concise bodies (#430)
  • Don’t flag usage of non-configured mocha interface methods (#431)
  • Declare rules as JS-only (#426)
  • Guard the no-async-suite fixer against await expressions (#417)

Features

  • Add no-conditional-tests rule (#461)
  • Add limit-slow rule (#458)
  • Add limit-retries rule (#457)
  • Add limit-timeout rule (#456)
  • Add rule no-done-twice to reject multiple done() calls (#453)

... (truncated)

Changelog

Sourced from eslint-plugin-mocha's changelog.

eslint-plugin-mocha 12.0.2 (August 3, 2026)

Bug Fixes

  • Fix handle-done-callback for object property callbacks (#561)

Dependency Upgrades

  • Update type-fest to 5.8.0
  • Update dependency globals to v17.8.0 (#552)

eslint-plugin-mocha 12.0.1 (July 28, 2026)

Bug Fixes

  • Fix handle-done-callback for nested callback handoffs (#549)

eslint-plugin-mocha 12.0.0 (July 27, 2026)

Breaking Changes

  • Rename no-return-and-callback to no-return-and-done (#467)
  • Adjust recommended config defaults (#466)
  • Rename no-synchronous-tests option to allowedAsyncMethods (#449)
  • Rename no-setup-in-describe to no-setup-in-suite (#447)
  • Rename no-hooks-for-single-case to no-hooks-for-single-child (#448)
  • Move no-sibling-hooks functionality into consistent-structure (#441)
  • Rename no-global-tests to no-top-level-tests (#434)
  • Rename no-top-level-hooks to no-root-hooks (#433)
  • Rename named-import interface setting from exports to require (#432)
  • Require ESLint v10.2.0 (#425)

Bug Fixes

  • Fix no-sibling-hooks nested function false positives (#439)
  • Fix no-mocha-arrows fixer for commented concise bodies (#430)
  • Don’t flag usage of non-configured mocha interface methods (#431)
  • Declare rules as JS-only (#426)
  • Guard the no-async-suite fixer against await expressions (#417)

Features

  • Add no-conditional-tests rule (#461)
  • Add limit-slow rule (#458)
  • Add limit-retries rule (#457)
  • Add limit-timeout rule (#456)
  • Add rule no-done-twice to reject multiple done() calls (#453)
  • Add no-code-after-done rule to reject code after done() (#451)
  • Add rule no-async-and-done to forbid async callbacks with done (#455)
  • Add rule for async operations in synchronous tests (#444)

... (truncated)

Commits
  • b586d3a Merge pull request #553 from lo1tuma/release/eslint-plugin-mocha
  • 71251ba Release packages
  • a941e1f Merge pull request #564 from lo1tuma/renovate/knip-6.x
  • da41b40 Update dependency knip to v6.30.0
  • be3bf50 Merge pull request #563 from lo1tuma/renovate/lock-file-maintenance
  • 46e760f Merge pull request #562 from lo1tuma/renovate/packtory
  • 2245601 Enable TypeScript integrity package checks
  • 53c677c Update dependency @​packtory/cli to v0.0.78
  • 4c470a5 Lock file maintenance
  • d74e830 Update dependency @​packtory/cli to v0.0.75
  • Additional commits viewable in compare view
Maintainer changes

This version was pushed to npm by GitHub Actions, a new releaser for eslint-plugin-mocha since your current version.


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [eslint-plugin-mocha](https://github.com/lo1tuma/eslint-plugin-mocha) from 11.3.0 to 12.0.2.
- [Release notes](https://github.com/lo1tuma/eslint-plugin-mocha/releases)
- [Changelog](https://github.com/lo1tuma/eslint-plugin-mocha/blob/main/CHANGELOG.md)
- [Commits](https://github.com/lo1tuma/eslint-plugin-mocha/compare/11.3.0...eslint-plugin-mocha@12.0.2)

---
updated-dependencies:
- dependency-name: eslint-plugin-mocha
  dependency-version: 12.0.2
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependabot dependencies javascript Pull requests that update javascript code semver-patch labels Aug 19, 2026
@dependabot
dependabot Bot requested a review from a team as a code owner August 19, 2026 00:57
@dependabot dependabot Bot added dependencies javascript Pull requests that update javascript code dependabot labels Aug 19, 2026
@dd-octo-sts

dd-octo-sts Bot commented Aug 19, 2026

Copy link
Copy Markdown
Contributor

Overall package size

Self size: 8.25 MB
Deduped: 8.92 MB
No deduping: 8.92 MB

Dependency sizes | name | version | self size | total size | |------|---------|-----------|------------| | import-in-the-middle | 3.3.3 | 125.43 kB | 445.14 kB | | opentracing | 0.14.7 | 194.81 kB | 194.81 kB | | dc-polyfill | 0.1.11 | 25.74 kB | 25.74 kB |

🤖 This report was automatically generated by heaviest-objects-in-the-universe

@datadog-official

datadog-official Bot commented Aug 19, 2026

Copy link
Copy Markdown

Pipelines  Tests

⚠️ Warnings

🚦 2 Pipeline jobs failed

Project | lint — 🔧 Needs a code fix, caused by this PR

View in Datadog · View in GitHub Actions

159 linting errors detected in tests for Mocha, including unexpected conditional test declarations and incorrect callback handling.

All Green | all-green

View in Datadog · View in GitHub Actions

📋 Copy prompt for your agent
CI on my pull request is failing. Help me find and fix the root cause of each failing job below — they were flagged as caused by changes in this PR, so focus on the diff. For each job, explain the failure and propose a fix.

Branch: dependabot/npm_and_yarn/eslint-plugin-mocha-12.0.2

Project | lint
Commit: 3f47768ffee37c6a1bc912e721b1c65f2e4e262e
Error (code / quality):
159 linting errors detected in tests for Mocha, including unexpected conditional test declarations and incorrect callback handling.
CI job: https://github.com/DataDog/dd-trace-js/actions/runs/32203154677/job/95921444391

ℹ️ Info

No other issues found (see more)

🧪 All tests passed
❄️ No new flaky tests detected

Useful? React with 👍 / 👎

This comment will be updated automatically if new data arrives.
🔗 Commit SHA: 4407346 | Docs | View more details | Give us feedback!

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 4407346317

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread package.json
"eslint-plugin-import-x": "^4.16.2",
"eslint-plugin-jsdoc": "^63.0.12",
"eslint-plugin-mocha": "^11.3.0",
"eslint-plugin-mocha": "^12.0.2",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Update configuration for the renamed Mocha rules

Upgrading to v12 leaves eslint.config.mjs:995-997 referencing three rules removed by this major release: no-setup-in-describe, no-sibling-hooks, and no-top-level-hooks. When npm run lint processes any TEST_FILES, ESLint reports that these rule definitions cannot be found even though they are configured as off, so the repository-wide lint job fails. Migrate these overrides to the v12 rule names or remove them as appropriate.

AGENTS.md reference: AGENTS.md:L149-L152

Useful? React with 👍 / 👎.

@pr-commenter

pr-commenter Bot commented Aug 19, 2026

Copy link
Copy Markdown

Benchmarks

Benchmark execution time: 2026-08-19 01:10:42

Comparing candidate commit 4407346 in PR branch dependabot/npm_and_yarn/eslint-plugin-mocha-12.0.2 with baseline commit 63a6307 in branch master.

📊 Benchmarking dashboard

Found 0 performance improvements and 0 performance regressions! Performance is the same for 2285 metrics, 7 unstable metrics.

Explanation

This is an A/B test comparing a candidate commit's performance against that of a baseline commit. Performance changes are noted in the tables below as:

  • 🟩 = significantly better candidate vs. baseline
  • 🟥 = significantly worse candidate vs. baseline

We compute a confidence interval (CI) over the relative difference of means between metrics from the candidate and baseline commits, considering the baseline as the reference.

If the CI is entirely outside the configured SIGNIFICANT_IMPACT_THRESHOLD (or the deprecated UNCONFIDENCE_THRESHOLD), the change is considered significant.

Feel free to reach out to #apm-benchmarking-platform on Slack if you have any questions.

More details about the CI and significant changes

You can imagine this CI as a range of values that is likely to contain the true difference of means between the candidate and baseline commits.

CIs of the difference of means are often centered around 0%, because often changes are not that big:

---------------------------------(------|---^--------)-------------------------------->
                              -0.6%    0%  0.3%     +1.2%
                                 |          |        |
         lower bound of the CI --'          |        |
sample mean (center of the CI) -------------'        |
         upper bound of the CI ----------------------'

As described above, a change is considered significant if the CI is entirely outside the configured SIGNIFICANT_IMPACT_THRESHOLD (or the deprecated UNCONFIDENCE_THRESHOLD).

For instance, for an execution time metric, this confidence interval indicates a significantly worse performance:

----------------------------------------|---------|---(---------^---------)---------->
                                       0%        1%  1.3%      2.2%      3.1%
                                                  |   |         |         |
       significant impact threshold --------------'   |         |         |
                      lower bound of CI --------------'         |         |
       sample mean (center of the CI) --------------------------'         |
                      upper bound of CI ----------------------------------'

Unstable benchmarks

These benchmarks have a confidence interval too wide to call a change; treat them as noise rather than signal.

scenario:debugger-line-probe-with-snapshot-minimal-24

  • unstable max_rss_usage [-16.642MB; +10.462MB] or [-6.735%; +4.234%]

scenario:dogstatsd-with-tags-20

  • unstable cpu_user_time [-348.642ms; +342.778ms] or [-7.243%; +7.121%]
  • unstable execution_time [-350.619ms; +341.576ms] or [-7.176%; +6.990%]
  • unstable throughput [-121073.314op/s; +123192.163op/s] or [-7.044%; +7.167%]

scenario:plugin-graphql-long-with-depth-and-collapse-off-20

  • unstable max_rss_usage [-31927.840KB; +30935.440KB] or [-8.028%; +7.779%]

scenario:plugin-graphql-long-with-depth-off-20

  • unstable max_rss_usage [-7126.830KB; +7899.973KB] or [-5.539%; +6.140%]

scenario:test-optimization-large-suite-20

  • unstable max_rss_usage [-4351.308KB; +6088.974KB] or [-5.460%; +7.641%]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependabot dependencies javascript Pull requests that update javascript code semver-patch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants